<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>账号信息</title>
    <link rel="stylesheet" href="../../css/base.css">
    <link rel="stylesheet" href="../../css/YJJ/userInf.css">
</head>
<body>
    <header>
        <div class="backBox">
            <a href="../../html/YJJ/Set.html">
                <img class='backBtn' src="../../img/icon/back.png" alt="">
            </a>
            <span>账号信息</span>
        </div>
    </header>
    <div class="contentBox">
        <ul class="content">
            <li>
                <div>
                    <img src="../../img/icon/用户头像.png" alt="">
                </div>
            </li>
            <li>
                <div>
                    <span>淘宝账号</span>
                    <input type="text">
                </div>
                <div>
                    <span>淘宝昵称</span>
                    <input type="text">
                </div>
            </li>
        </ul>
    </div>
</body>
<script>
    let backEl = document.querySelector('.backBox');
    backEl.addEventListener("click", function(e){
        if(e.target.tagName == 'SPAN' || e.target.tagName == 'IMG'){
            window.history.back();
        }
    })
</script>
</html>